package cn.itsource.pethome.pay.mapper;

import cn.itsource.pethome.Basic.mapper.BaseMapper;
import cn.itsource.pethome.pay.domain.AlipayInfo;

public interface AlipayInfoMapper extends BaseMapper<AlipayInfo> {
    /**
     * 通过shopid查询支付详情
     * @param shopId
     * @return
     */
    AlipayInfo findByShopId(Long shopId);

    /**
     * 根据订单号查询订单详情
     * @param out_trade_no
     * @return
     */
    AlipayInfo loadByOrderSn(String out_trade_no);
}
